Skip to content

Move the Log4j ENV variable to the java-base image#727

Merged
lfrancke merged 2 commits intomainfrom
feat/log4j
Jun 20, 2024
Merged

Move the Log4j ENV variable to the java-base image#727
lfrancke merged 2 commits intomainfrom
feat/log4j

Conversation

@lfrancke
Copy link
Copy Markdown
Member

Description

ENV variables are inherited by images if they come from a parent image. This ENV variable disables the Log4j feature that caused CVE-2021-4428 (Log4Shell). Even though this probably has been disabled everywhere already it doesn't hurt to set this variable

ENV variables are inherited by images if they come from a parent image.
This ENV variable disables the Log4j feature that caused CVE-2021-4428 (Log4Shell). Even though this probably has been disabled everywhere already it doesn't hurt to set this variable
@lfrancke lfrancke self-assigned this Jun 20, 2024
maltesander
maltesander previously approved these changes Jun 20, 2024
Copy link
Copy Markdown
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM. Could use a changelog entry though?

@lfrancke
Copy link
Copy Markdown
Member Author

Will do

@lfrancke
Copy link
Copy Markdown
Member Author

95d3cc5 (#727)

Copy link
Copy Markdown
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM!

@lfrancke lfrancke added this pull request to the merge queue Jun 20, 2024
Merged via the queue into main with commit a79c839 Jun 20, 2024
@lfrancke lfrancke deleted the feat/log4j branch June 20, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants